package com.js.basic.service;

import java.util.List;
import com.js.basic.domain.BsContractAgree;

/**
 * 合同约定Service接口
 * 
 * @author ruoyi
 * @date 20240709
 */
public interface IBsContractAgreeService 
{
    /**
     * 查询合同约定
     * 
     * @param agreeId 合同约定主键
     * @return 合同约定
     */
    public BsContractAgree selectBsContractAgreeByAgreeId(Long agreeId);

    /**
     * 查询合同约定列表
     * 
     * @param bsContractAgree 合同约定
     * @return 合同约定集合
     */
    public List<BsContractAgree> selectBsContractAgreeList(BsContractAgree bsContractAgree);

    /**
     * 新增合同约定
     * 
     * @param bsContractAgree 合同约定
     * @return 结果
     */
    public int insertBsContractAgree(BsContractAgree bsContractAgree);

    /**
     * 修改合同约定
     * 
     * @param bsContractAgree 合同约定
     * @return 结果
     */
    public int updateBsContractAgree(BsContractAgree bsContractAgree);

    /**
     * 批量删除合同约定
     * 
     * @param agreeIds 需要删除的合同约定主键集合
     * @return 结果
     */
    public int deleteBsContractAgreeByAgreeIds(Long[] agreeIds);

    /**
     * 删除合同约定信息
     * 
     * @param agreeId 合同约定主键
     * @return 结果
     */
    public int deleteBsContractAgreeByAgreeId(Long agreeId);
}
